Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcFixedFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 1 - 3 items: number, [decimals], [no_commas].

Number is the number you want to round and convert to text.

[Decimals] is the number of digits to the right of the decimal point.

[No_commas] is a logical value that, if true, prevents FIXED from including commas in the returned text.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as System.String.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcFixedFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 1 - 3 items: number, [decimals], [no_commas].

    Number is the number you want to round and convert to text.

    [Decimals] is the number of digits to the right of the decimal point.

    [No_commas] is a logical value that, if true, prevents FIXED from including commas in the returned text.

    Return Value

    A System.String value that indicates the evaluate result.
    See Also